package com.atguigu.day01;

public class test10 {

    public static void main(String[] args) {
        byte b1 = 10;
        System.out.print("整数类型-byte:");
        System.out.println(b1);
        short s1 = 100;
        System.out.print("整数类型-short:");
        System.out.println(s1);
        int i1 = 1000;
        System.out.print("整数类型-int:");
        System.out.println(i1);
        long l1 = 10000l;
        System.out.print("整数类型-long:");
        System.out.println(l1);
        float f1 = 100000.0f;
        System.out.print("小数类型-float:");
        System.out.println(f1);
        double d1 = 1000000.0;
        System.out.print("小数类型-double:");
        System.out.println(d1);
        char c1 = 'Z';
        System.out.print("字符类型-char:");
        System.out.println(c1);
        boolean bool1 = false;
        System.out.print("布尔类型-loolean:");
        System.out.println(bool1);
        System.out.println(2 << 3);
    }
}
/* 1.基本数据类型：整数类型byte,short,int,long;小数类型float,double
 * 字符型char;布尔型boolean;String 不是基本数据类型
 * 2.否，float f = 3.4f;14
 * 3.可以
 * 4.2<<2
 */
